package com.burgeon.backend.SHOPBACKEND.service;

import com.burgeon.backend.SHOPBACKEND.entity.Marketing;
import com.burgeon.backend.SHOPBACKEND.entity.MarketingItem;
import com.burgeon.backend.SHOPBACKEND.entity.QueryMarketingData;
import com.burgeon.backend.SHOPBACKEND.service.ex.ErrorDataException;

import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public interface BackendMarketingService {

    ArrayList marketingTemplateListData();

    HashMap getMarketingStatistics(String account,int start);
    //发送活动模板
    void sendTemplate(QueryMarketingData queryMarketingData,String templateId,String first,String keyword1, String keyword2, String keyword3,String keyword4,String remark);

    void sendWxNewsByOpenIds(QueryMarketingData query,String media_id) throws UnsupportedEncodingException;

    void batchAddCoupon(QueryMarketingData query) throws ErrorDataException;


    ArrayList fingVipData(QueryMarketingData queryMarketingData);

    ArrayList getDataList(String[] arr,String account);

    HashMap findVipData(String id, String[] arr, String account,int start);

    List<Marketing> getData(String account);

    List<MarketingItem> getItemData(String id,String account);

    void batchCouponGift(QueryMarketingData query,String giftId);
}
